//
// Created by NOZOMI on 2023/6/27.
//

#ifndef TEST5_PROJECT_PLAYSCENE_H
#define TEST5_PROJECT_PLAYSCENE_H

#include <QMainWindow>
#include <QMap>
#include <QVector>
#include "MyCoin.h"

class PlayScene : public QMainWindow{

    Q_OBJECT

public:
    explicit PlayScene(QWidget *parent = nullptr);

    PlayScene(int LevelIndex);

    ~PlayScene() override;

    int LevelIndex;        //成员变量 记录关卡索引

    //map里面套了vector函数里面又套了vector
    QMap<int,QVector<QVector <int>>> mData;

signals:
    void chooseSceneBack();

public slots:
    void paintEvent(QPaintEvent *event) override;

private:
    MyCoin *coinBtn[4][4];   //用来标识四个金币一起翻转

};


#endif //TEST5_PROJECT_PLAYSCENE_H
